3.491 \(\int \frac{x^2}{(c+a^2 c x^2)^3 \tan ^{-1}(a x)} \, dx\)

Optimal. Leaf size=33 \[ \frac{\log \left (\tan ^{-1}(a x)\right )}{8 a^3 c^3}-\frac{\text{CosIntegral}\left (4 \tan ^{-1}(a x)\right )}{8 a^3 c^3} \]

[Out]

-CosIntegral[4*ArcTan[a*x]]/(8*a^3*c^3) + Log[ArcTan[a*x]]/(8*a^3*c^3)

________________________________________________________________________________________

Rubi [A]  time = 0.110074, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {4970, 4406, 3302} \[ \frac{\log \left (\tan ^{-1}(a x)\right )}{8 a^3 c^3}-\frac{\text{CosIntegral}\left (4 \tan ^{-1}(a x)\right )}{8 a^3 c^3} \]

Antiderivative was successfully verified.

[In]

Int[x^2/((c + a^2*c*x^2)^3*ArcTan[a*x]),x]

[Out]

-CosIntegral[4*ArcTan[a*x]]/(8*a^3*c^3) + Log[ArcTan[a*x]]/(8*a^3*c^3)

Rule 4970

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_), x_Symbol] :> Dist[d^q/c^(m
 + 1), Subst[Int[((a + b*x)^p*Sin[x]^m)/Cos[x]^(m + 2*(q + 1)), x], x, ArcTan[c*x]], x] /; FreeQ[{a, b, c, d,
e, p}, x] && EqQ[e, c^2*d] && IGtQ[m, 0] && ILtQ[m + 2*q + 1, 0] && (IntegerQ[q] || GtQ[d, 0])

Rule 4406

Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int[E
xpandTrigReduce[(c + d*x)^m, Sin[a + b*x]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0]
&& IGtQ[p, 0]

Rule 3302

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rubi steps

\begin{align*} \int \frac{x^2}{\left (c+a^2 c x^2\right )^3 \tan ^{-1}(a x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\cos ^2(x) \sin ^2(x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a^3 c^3}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{1}{8 x}-\frac{\cos (4 x)}{8 x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{a^3 c^3}\\ &=\frac{\log \left (\tan ^{-1}(a x)\right )}{8 a^3 c^3}-\frac{\operatorname{Subst}\left (\int \frac{\cos (4 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{8 a^3 c^3}\\ &=-\frac{\text{Ci}\left (4 \tan ^{-1}(a x)\right )}{8 a^3 c^3}+\frac{\log \left (\tan ^{-1}(a x)\right )}{8 a^3 c^3}\\ \end{align*}

Mathematica [A]  time = 0.0645481, size = 25, normalized size = 0.76 \[ \frac{\log \left (\tan ^{-1}(a x)\right )-\text{CosIntegral}\left (4 \tan ^{-1}(a x)\right )}{8 a^3 c^3} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2/((c + a^2*c*x^2)^3*ArcTan[a*x]),x]

[Out]

(-CosIntegral[4*ArcTan[a*x]] + Log[ArcTan[a*x]])/(8*a^3*c^3)

________________________________________________________________________________________

Maple [A]  time = 0.065, size = 30, normalized size = 0.9 \begin{align*} -{\frac{{\it Ci} \left ( 4\,\arctan \left ( ax \right ) \right ) }{8\,{c}^{3}{a}^{3}}}+{\frac{\ln \left ( \arctan \left ( ax \right ) \right ) }{8\,{c}^{3}{a}^{3}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(a^2*c*x^2+c)^3/arctan(a*x),x)

[Out]

-1/8*Ci(4*arctan(a*x))/a^3/c^3+1/8*ln(arctan(a*x))/a^3/c^3

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (a^{2} c x^{2} + c\right )}^{3} \arctan \left (a x\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="maxima")

[Out]

integrate(x^2/((a^2*c*x^2 + c)^3*arctan(a*x)), x)

________________________________________________________________________________________

Fricas [C]  time = 1.64494, size = 298, normalized size = 9.03 \begin{align*} \frac{2 \, \log \left (\arctan \left (a x\right )\right ) - \logintegral \left (\frac{a^{4} x^{4} + 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} - 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right ) - \logintegral \left (\frac{a^{4} x^{4} - 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} + 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right )}{16 \, a^{3} c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="fricas")

[Out]

1/16*(2*log(arctan(a*x)) - log_integral((a^4*x^4 + 4*I*a^3*x^3 - 6*a^2*x^2 - 4*I*a*x + 1)/(a^4*x^4 + 2*a^2*x^2
 + 1)) - log_integral((a^4*x^4 - 4*I*a^3*x^3 - 6*a^2*x^2 + 4*I*a*x + 1)/(a^4*x^4 + 2*a^2*x^2 + 1)))/(a^3*c^3)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{x^{2}}{a^{6} x^{6} \operatorname{atan}{\left (a x \right )} + 3 a^{4} x^{4} \operatorname{atan}{\left (a x \right )} + 3 a^{2} x^{2} \operatorname{atan}{\left (a x \right )} + \operatorname{atan}{\left (a x \right )}}\, dx}{c^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(a**2*c*x**2+c)**3/atan(a*x),x)

[Out]

Integral(x**2/(a**6*x**6*atan(a*x) + 3*a**4*x**4*atan(a*x) + 3*a**2*x**2*atan(a*x) + atan(a*x)), x)/c**3

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{{\left (a^{2} c x^{2} + c\right )}^{3} \arctan \left (a x\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="giac")

[Out]

integrate(x^2/((a^2*c*x^2 + c)^3*arctan(a*x)), x)